<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libfuse: include/fuse_common.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libfuse
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">fuse_common.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="fuse__opt_8h_source.html">fuse_opt.h</a>&quot;</code><br />
<code>#include &lt;stdint.h&gt;</code><br />
<code>#include &lt;sys/types.h&gt;</code><br />
</div>
<p><a href="fuse__common_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfuse__file__info.html">fuse_file_info</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfuse__loop__config.html">fuse_loop_config</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfuse__conn__info.html">fuse_conn_info</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfuse__buf.html">fuse_buf</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfuse__bufvec.html">fuse_bufvec</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a2779d57c512b7b948992858653e95f0e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#a2779d57c512b7b948992858653e95f0e">FUSE_MAJOR_VERSION</a>&#160;&#160;&#160;3</td></tr>
<tr class="separator:a2779d57c512b7b948992858653e95f0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8571aa4ec96e1685d31eeff07cb2f163"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#a8571aa4ec96e1685d31eeff07cb2f163">FUSE_MINOR_VERSION</a>&#160;&#160;&#160;2</td></tr>
<tr class="separator:a8571aa4ec96e1685d31eeff07cb2f163"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e1bacbb44d6dca9a82255c8069c3d69"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#a4e1bacbb44d6dca9a82255c8069c3d69">FUSE_CAP_ASYNC_READ</a>&#160;&#160;&#160;(1 &lt;&lt; 0)</td></tr>
<tr class="separator:a4e1bacbb44d6dca9a82255c8069c3d69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76f6b481e6a7c519fea9250daef6177a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#a76f6b481e6a7c519fea9250daef6177a">FUSE_CAP_POSIX_LOCKS</a>&#160;&#160;&#160;(1 &lt;&lt; 1)</td></tr>
<tr class="separator:a76f6b481e6a7c519fea9250daef6177a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c81f2838716f43fe493a61c87a62816"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#a4c81f2838716f43fe493a61c87a62816">FUSE_CAP_ATOMIC_O_TRUNC</a>&#160;&#160;&#160;(1 &lt;&lt; 3)</td></tr>
<tr class="separator:a4c81f2838716f43fe493a61c87a62816"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7686c11aaf80382189927b10b848d8c8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#a7686c11aaf80382189927b10b848d8c8">FUSE_CAP_EXPORT_SUPPORT</a>&#160;&#160;&#160;(1 &lt;&lt; 4)</td></tr>
<tr class="separator:a7686c11aaf80382189927b10b848d8c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0cd4cebf7ec784886836aa061a1612fe"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#a0cd4cebf7ec784886836aa061a1612fe">FUSE_CAP_DONT_MASK</a>&#160;&#160;&#160;(1 &lt;&lt; 6)</td></tr>
<tr class="separator:a0cd4cebf7ec784886836aa061a1612fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f8815e0f48c60c3d9cd6e72be5a84e4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#a4f8815e0f48c60c3d9cd6e72be5a84e4">FUSE_CAP_SPLICE_WRITE</a>&#160;&#160;&#160;(1 &lt;&lt; 7)</td></tr>
<tr class="separator:a4f8815e0f48c60c3d9cd6e72be5a84e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef5da823dc5f202bbe033c7a5a3de9c4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#aef5da823dc5f202bbe033c7a5a3de9c4">FUSE_CAP_SPLICE_MOVE</a>&#160;&#160;&#160;(1 &lt;&lt; 8)</td></tr>
<tr class="separator:aef5da823dc5f202bbe033c7a5a3de9c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f8a51bc70841ab691660413836a9a14"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#a2f8a51bc70841ab691660413836a9a14">FUSE_CAP_SPLICE_READ</a>&#160;&#160;&#160;(1 &lt;&lt; 9)</td></tr>
<tr class="separator:a2f8a51bc70841ab691660413836a9a14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd06393448dbb60668f5a3bf0006f536"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#afd06393448dbb60668f5a3bf0006f536">FUSE_CAP_FLOCK_LOCKS</a>&#160;&#160;&#160;(1 &lt;&lt; 10)</td></tr>
<tr class="separator:afd06393448dbb60668f5a3bf0006f536"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0bfb2ecd448cb5659679df690e75581a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#a0bfb2ecd448cb5659679df690e75581a">FUSE_CAP_IOCTL_DIR</a>&#160;&#160;&#160;(1 &lt;&lt; 11)</td></tr>
<tr class="separator:a0bfb2ecd448cb5659679df690e75581a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2568c799f5f90ad2f0c353d48d8b8780"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#a2568c799f5f90ad2f0c353d48d8b8780">FUSE_CAP_AUTO_INVAL_DATA</a>&#160;&#160;&#160;(1 &lt;&lt; 12)</td></tr>
<tr class="separator:a2568c799f5f90ad2f0c353d48d8b8780"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad808b93c66a58d1b4cd738af7ddcf37f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#ad808b93c66a58d1b4cd738af7ddcf37f">FUSE_CAP_READDIRPLUS</a>&#160;&#160;&#160;(1 &lt;&lt; 13)</td></tr>
<tr class="separator:ad808b93c66a58d1b4cd738af7ddcf37f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b90333ad08d0e1c2ed0134d9305ee87"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#a9b90333ad08d0e1c2ed0134d9305ee87">FUSE_CAP_READDIRPLUS_AUTO</a>&#160;&#160;&#160;(1 &lt;&lt; 14)</td></tr>
<tr class="separator:a9b90333ad08d0e1c2ed0134d9305ee87"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac172aaeb6d27e2fdcafd086f9f3c0cf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#aac172aaeb6d27e2fdcafd086f9f3c0cf">FUSE_CAP_ASYNC_DIO</a>&#160;&#160;&#160;(1 &lt;&lt; 15)</td></tr>
<tr class="separator:aac172aaeb6d27e2fdcafd086f9f3c0cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4839fce31097f4b4da7a1f01169228fa"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#a4839fce31097f4b4da7a1f01169228fa">FUSE_CAP_WRITEBACK_CACHE</a>&#160;&#160;&#160;(1 &lt;&lt; 16)</td></tr>
<tr class="separator:a4839fce31097f4b4da7a1f01169228fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4477fe76f57e8b726d0357a637d7aaf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#ad4477fe76f57e8b726d0357a637d7aaf">FUSE_CAP_NO_OPEN_SUPPORT</a>&#160;&#160;&#160;(1 &lt;&lt; 17)</td></tr>
<tr class="separator:ad4477fe76f57e8b726d0357a637d7aaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3311a7f569e9fbf55b3f0bcaadbe4ad0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#a3311a7f569e9fbf55b3f0bcaadbe4ad0">FUSE_CAP_PARALLEL_DIROPS</a>&#160;&#160;&#160;(1 &lt;&lt; 18)</td></tr>
<tr class="separator:a3311a7f569e9fbf55b3f0bcaadbe4ad0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b3ef5b12be33295311d6b751846c263"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#a5b3ef5b12be33295311d6b751846c263">FUSE_CAP_POSIX_ACL</a>&#160;&#160;&#160;(1 &lt;&lt; 19)</td></tr>
<tr class="separator:a5b3ef5b12be33295311d6b751846c263"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24a4a980dff3f7a4ba771a92bb59a4bd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#a24a4a980dff3f7a4ba771a92bb59a4bd">FUSE_CAP_HANDLE_KILLPRIV</a>&#160;&#160;&#160;(1 &lt;&lt; 20)</td></tr>
<tr class="separator:a24a4a980dff3f7a4ba771a92bb59a4bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade38f8e8c463cd40af5bfeeebfa99486"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#ade38f8e8c463cd40af5bfeeebfa99486">FUSE_IOCTL_COMPAT</a>&#160;&#160;&#160;(1 &lt;&lt; 0)</td></tr>
<tr class="separator:ade38f8e8c463cd40af5bfeeebfa99486"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:a5e36b839c4dbf0439bd85b61c7213a58"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#a5e36b839c4dbf0439bd85b61c7213a58">fuse_buf_flags</a> { <a class="el" href="fuse__common_8h.html#a5e36b839c4dbf0439bd85b61c7213a58affd5b3b7e9cdd5f89b3126eea96e033b">FUSE_BUF_IS_FD</a> = (1 &lt;&lt; 1), 
<a class="el" href="fuse__common_8h.html#a5e36b839c4dbf0439bd85b61c7213a58ad67d5c6075febad0594f06d46d02bfa9">FUSE_BUF_FD_SEEK</a> = (1 &lt;&lt; 2), 
<a class="el" href="fuse__common_8h.html#a5e36b839c4dbf0439bd85b61c7213a58af89b4b00a2d4a06d8458b320c2cb28cf">FUSE_BUF_FD_RETRY</a> = (1 &lt;&lt; 3)
 }</td></tr>
<tr class="separator:a5e36b839c4dbf0439bd85b61c7213a58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec0ad71a3e8c357ebe7e87cdecbdbe18"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#aec0ad71a3e8c357ebe7e87cdecbdbe18">fuse_buf_copy_flags</a> { <a class="el" href="fuse__common_8h.html#aec0ad71a3e8c357ebe7e87cdecbdbe18adcef8052c48f314d4d9f9f05a5b4f838">FUSE_BUF_NO_SPLICE</a> = (1 &lt;&lt; 1), 
<a class="el" href="fuse__common_8h.html#aec0ad71a3e8c357ebe7e87cdecbdbe18a375767de945f5178e8949d284abf1f5b">FUSE_BUF_FORCE_SPLICE</a> = (1 &lt;&lt; 2), 
<a class="el" href="fuse__common_8h.html#aec0ad71a3e8c357ebe7e87cdecbdbe18af239e556066a5d73b3ff542216b157b9">FUSE_BUF_SPLICE_MOVE</a> = (1 &lt;&lt; 3), 
<a class="el" href="fuse__common_8h.html#aec0ad71a3e8c357ebe7e87cdecbdbe18a32ec833f1eb4b5cd9283cf9d93021037">FUSE_BUF_SPLICE_NONBLOCK</a> = (1 &lt;&lt; 4)
 }</td></tr>
<tr class="separator:aec0ad71a3e8c357ebe7e87cdecbdbe18"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:af5431cea3c9a8490cefe087cb8089cd9"><td class="memItemLeft" align="right" valign="top">struct fuse_conn_info_opts *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#af5431cea3c9a8490cefe087cb8089cd9">fuse_parse_conn_info_opts</a> (struct <a class="el" href="structfuse__args.html">fuse_args</a> *args)</td></tr>
<tr class="separator:af5431cea3c9a8490cefe087cb8089cd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55cf81fd313a39a171275360960b0471"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#a55cf81fd313a39a171275360960b0471">fuse_apply_conn_info_opts</a> (struct fuse_conn_info_opts *opts, struct <a class="el" href="structfuse__conn__info.html">fuse_conn_info</a> *conn)</td></tr>
<tr class="separator:a55cf81fd313a39a171275360960b0471"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1857d2209952f49a762aff39f3cd8bd"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#af1857d2209952f49a762aff39f3cd8bd">fuse_daemonize</a> (int foreground)</td></tr>
<tr class="separator:af1857d2209952f49a762aff39f3cd8bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae04b2f721003f5540c71be65396c53c8"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#ae04b2f721003f5540c71be65396c53c8">fuse_version</a> (void)</td></tr>
<tr class="separator:ae04b2f721003f5540c71be65396c53c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac52e27388a7c16eb509173908e5eebd0"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#ac52e27388a7c16eb509173908e5eebd0">fuse_pkgversion</a> (void)</td></tr>
<tr class="separator:ac52e27388a7c16eb509173908e5eebd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf5027f8a38b2efc03858efd7fdc756a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#adf5027f8a38b2efc03858efd7fdc756a">fuse_pollhandle_destroy</a> (struct fuse_pollhandle *ph)</td></tr>
<tr class="separator:adf5027f8a38b2efc03858efd7fdc756a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4327f41b2fe1ca84151b407169bd86c0"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#a4327f41b2fe1ca84151b407169bd86c0">fuse_buf_size</a> (const struct <a class="el" href="structfuse__bufvec.html">fuse_bufvec</a> *bufv)</td></tr>
<tr class="separator:a4327f41b2fe1ca84151b407169bd86c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ca301390fb5e85b85153abb1891a3f7"><td class="memItemLeft" align="right" valign="top">ssize_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#a9ca301390fb5e85b85153abb1891a3f7">fuse_buf_copy</a> (struct <a class="el" href="structfuse__bufvec.html">fuse_bufvec</a> *dst, struct <a class="el" href="structfuse__bufvec.html">fuse_bufvec</a> *src, enum <a class="el" href="fuse__common_8h.html#aec0ad71a3e8c357ebe7e87cdecbdbe18">fuse_buf_copy_flags</a> flags)</td></tr>
<tr class="separator:a9ca301390fb5e85b85153abb1891a3f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a292dccc3c7b1799cb054efa2ba0c774b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#a292dccc3c7b1799cb054efa2ba0c774b">fuse_set_signal_handlers</a> (struct fuse_session *se)</td></tr>
<tr class="separator:a292dccc3c7b1799cb054efa2ba0c774b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb674bbc11074c4fe520b952d6bfdd30"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fuse__common_8h.html#aeb674bbc11074c4fe520b952d6bfdd30">fuse_remove_signal_handlers</a> (struct fuse_session *se)</td></tr>
<tr class="separator:aeb674bbc11074c4fe520b952d6bfdd30"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="aac172aaeb6d27e2fdcafd086f9f3c0cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac172aaeb6d27e2fdcafd086f9f3c0cf">&#9670;&nbsp;</a></span>FUSE_CAP_ASYNC_DIO</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FUSE_CAP_ASYNC_DIO&#160;&#160;&#160;(1 &lt;&lt; 15)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Indicates that the filesystem supports asynchronous direct I/O submission.</p>
<p>If this capability is not requested/available, the kernel will ensure that there is at most one pending read and one pending write request per direct I/O file-handle at any time.</p>
<p>This feature is enabled by default when supported by the kernel. </p>

<p class="definition">Definition at line <a class="el" href="fuse__common_8h_source.html#l00257">257</a> of file <a class="el" href="fuse__common_8h_source.html">fuse_common.h</a>.</p>

</div>
</div>
<a id="a4e1bacbb44d6dca9a82255c8069c3d69"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e1bacbb44d6dca9a82255c8069c3d69">&#9670;&nbsp;</a></span>FUSE_CAP_ASYNC_READ</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FUSE_CAP_ASYNC_READ&#160;&#160;&#160;(1 &lt;&lt; 0)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Indicates that the filesystem supports asynchronous read requests.</p>
<p>If this capability is not requested/available, the kernel will ensure that there is at most one pending read request per file-handle at any time, and will attempt to order read requests by increasing offset.</p>
<p>This feature is enabled by default when supported by the kernel. </p>

<p class="definition">Definition at line <a class="el" href="fuse__common_8h_source.html#l00120">120</a> of file <a class="el" href="fuse__common_8h_source.html">fuse_common.h</a>.</p>

</div>
</div>
<a id="a4c81f2838716f43fe493a61c87a62816"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4c81f2838716f43fe493a61c87a62816">&#9670;&nbsp;</a></span>FUSE_CAP_ATOMIC_O_TRUNC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FUSE_CAP_ATOMIC_O_TRUNC&#160;&#160;&#160;(1 &lt;&lt; 3)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Indicates that the filesystem supports the O_TRUNC open flag. If disabled, and an application specifies O_TRUNC, fuse first calls truncate() and then open() with O_TRUNC filtered out.</p>
<p>This feature is enabled by default when supported by the kernel. </p>

<p class="definition">Definition at line <a class="el" href="fuse__common_8h_source.html#l00137">137</a> of file <a class="el" href="fuse__common_8h_source.html">fuse_common.h</a>.</p>

</div>
</div>
<a id="a2568c799f5f90ad2f0c353d48d8b8780"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2568c799f5f90ad2f0c353d48d8b8780">&#9670;&nbsp;</a></span>FUSE_CAP_AUTO_INVAL_DATA</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FUSE_CAP_AUTO_INVAL_DATA&#160;&#160;&#160;(1 &lt;&lt; 12)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Traditionally, while a file is open the FUSE kernel module only asks the filesystem for an update of the file's attributes when a client attempts to read beyond EOF. This is unsuitable for e.g. network filesystems, where the file contents may change without the kernel knowing about it.</p>
<p>If this flag is set, FUSE will check the validity of the attributes on every read. If the attributes are no longer valid (i.e., if the <em>attr_timeout</em> passed to <a class="el" href="fuse__lowlevel_8h.html#ad28378dc569019c32acdb4995d70be18">fuse_reply_attr()</a> or set in <code>struct <a class="el" href="structfuse__entry__param.html">fuse_entry_param</a></code> has passed), it will first issue a <code>getattr</code> request. If the new mtime differs from the previous value, any cached file <em>contents</em> will be invalidated as well.</p>
<p>This flag should always be set when available. If all file changes go through the kernel, <em>attr_timeout</em> should be set to a very large number to avoid unnecessary getattr() calls.</p>
<p>This feature is enabled by default when supported by the kernel. </p>

<p class="definition">Definition at line <a class="el" href="fuse__common_8h_source.html#l00219">219</a> of file <a class="el" href="fuse__common_8h_source.html">fuse_common.h</a>.</p>

</div>
</div>
<a id="a0cd4cebf7ec784886836aa061a1612fe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0cd4cebf7ec784886836aa061a1612fe">&#9670;&nbsp;</a></span>FUSE_CAP_DONT_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FUSE_CAP_DONT_MASK&#160;&#160;&#160;(1 &lt;&lt; 6)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Indicates that the kernel should not apply the umask to the file mode on create operations.</p>
<p>This feature is disabled by default. </p>

<p class="definition">Definition at line <a class="el" href="fuse__common_8h_source.html#l00152">152</a> of file <a class="el" href="fuse__common_8h_source.html">fuse_common.h</a>.</p>

</div>
</div>
<a id="a7686c11aaf80382189927b10b848d8c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7686c11aaf80382189927b10b848d8c8">&#9670;&nbsp;</a></span>FUSE_CAP_EXPORT_SUPPORT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FUSE_CAP_EXPORT_SUPPORT&#160;&#160;&#160;(1 &lt;&lt; 4)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Indicates that the filesystem supports lookups of "." and "..".</p>
<p>This feature is disabled by default. </p>

<p class="definition">Definition at line <a class="el" href="fuse__common_8h_source.html#l00144">144</a> of file <a class="el" href="fuse__common_8h_source.html">fuse_common.h</a>.</p>

</div>
</div>
<a id="afd06393448dbb60668f5a3bf0006f536"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd06393448dbb60668f5a3bf0006f536">&#9670;&nbsp;</a></span>FUSE_CAP_FLOCK_LOCKS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FUSE_CAP_FLOCK_LOCKS&#160;&#160;&#160;(1 &lt;&lt; 10)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>If set, the calls to flock(2) will be emulated using POSIX locks and must then be handled by the filesystem's setlock() handler.</p>
<p>If not set, flock(2) calls will be handled by the FUSE kernel module internally (so any access that does not go through the kernel cannot be taken into account).</p>
<p>This feature is enabled by default when supported by the kernel and if the filesystem implements a flock() handler. </p>

<p class="definition">Definition at line <a class="el" href="fuse__common_8h_source.html#l00190">190</a> of file <a class="el" href="fuse__common_8h_source.html">fuse_common.h</a>.</p>

</div>
</div>
<a id="a24a4a980dff3f7a4ba771a92bb59a4bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24a4a980dff3f7a4ba771a92bb59a4bd">&#9670;&nbsp;</a></span>FUSE_CAP_HANDLE_KILLPRIV</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FUSE_CAP_HANDLE_KILLPRIV&#160;&#160;&#160;(1 &lt;&lt; 20)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Indicates that the filesystem is responsible for unsetting setuid and setgid bits when a file is written, truncated, or its owner is changed.</p>
<p>This feature is enabled by default when supported by the kernel. </p>

<p class="definition">Definition at line <a class="el" href="fuse__common_8h_source.html#l00317">317</a> of file <a class="el" href="fuse__common_8h_source.html">fuse_common.h</a>.</p>

</div>
</div>
<a id="a0bfb2ecd448cb5659679df690e75581a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0bfb2ecd448cb5659679df690e75581a">&#9670;&nbsp;</a></span>FUSE_CAP_IOCTL_DIR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FUSE_CAP_IOCTL_DIR&#160;&#160;&#160;(1 &lt;&lt; 11)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Indicates that the filesystem supports ioctl's on directories.</p>
<p>This feature is enabled by default when supported by the kernel. </p>

<p class="definition">Definition at line <a class="el" href="fuse__common_8h_source.html#l00197">197</a> of file <a class="el" href="fuse__common_8h_source.html">fuse_common.h</a>.</p>

</div>
</div>
<a id="ad4477fe76f57e8b726d0357a637d7aaf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad4477fe76f57e8b726d0357a637d7aaf">&#9670;&nbsp;</a></span>FUSE_CAP_NO_OPEN_SUPPORT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FUSE_CAP_NO_OPEN_SUPPORT&#160;&#160;&#160;(1 &lt;&lt; 17)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Indicates support for zero-message opens. If this flag is set in the <code>capable</code> field of the <code><a class="el" href="structfuse__conn__info.html">fuse_conn_info</a></code> structure, then the filesystem may return <code>ENOSYS</code> from the open() handler to indicate success. Further attempts to open files will be handled in the kernel. (If this flag is not set, returning ENOSYS will be treated as an error and signaled to the caller).</p>
<p>Setting (or unsetting) this flag in the <code>want</code> field has <em>no effect</em>. </p>

<p class="definition">Definition at line <a class="el" href="fuse__common_8h_source.html#l00279">279</a> of file <a class="el" href="fuse__common_8h_source.html">fuse_common.h</a>.</p>

</div>
</div>
<a id="a3311a7f569e9fbf55b3f0bcaadbe4ad0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3311a7f569e9fbf55b3f0bcaadbe4ad0">&#9670;&nbsp;</a></span>FUSE_CAP_PARALLEL_DIROPS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FUSE_CAP_PARALLEL_DIROPS&#160;&#160;&#160;(1 &lt;&lt; 18)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Indicates support for parallel directory operations. If this flag is unset, the FUSE kernel module will ensure that lookup() and readdir() requests are never issued concurrently for the same directory.</p>
<p>This feature is enabled by default when supported by the kernel. </p>

<p class="definition">Definition at line <a class="el" href="fuse__common_8h_source.html#l00289">289</a> of file <a class="el" href="fuse__common_8h_source.html">fuse_common.h</a>.</p>

</div>
</div>
<a id="a5b3ef5b12be33295311d6b751846c263"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5b3ef5b12be33295311d6b751846c263">&#9670;&nbsp;</a></span>FUSE_CAP_POSIX_ACL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FUSE_CAP_POSIX_ACL&#160;&#160;&#160;(1 &lt;&lt; 19)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Indicates support for POSIX ACLs.</p>
<p>If this feature is enabled, the kernel will cache and have responsibility for enforcing ACLs. ACL will be stored as xattrs and passed to userspace, which is responsible for updating the ACLs in the filesystem, keeping the file mode in sync with the ACL, and ensuring inheritance of default ACLs when new filesystem nodes are created. Note that this requires that the file system is able to parse and interpret the xattr representation of ACLs.</p>
<p>Enabling this feature implicitly turns on the <code>default_permissions</code> mount option (even if it was not passed to mount(2)).</p>
<p>This feature is disabled by default. </p>

<p class="definition">Definition at line <a class="el" href="fuse__common_8h_source.html#l00308">308</a> of file <a class="el" href="fuse__common_8h_source.html">fuse_common.h</a>.</p>

</div>
</div>
<a id="a76f6b481e6a7c519fea9250daef6177a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a76f6b481e6a7c519fea9250daef6177a">&#9670;&nbsp;</a></span>FUSE_CAP_POSIX_LOCKS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FUSE_CAP_POSIX_LOCKS&#160;&#160;&#160;(1 &lt;&lt; 1)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Indicates that the filesystem supports "remote" locking.</p>
<p>This feature is enabled by default when supported by the kernel, and if getlk() and setlk() handlers are implemented. </p>

<p class="definition">Definition at line <a class="el" href="fuse__common_8h_source.html#l00128">128</a> of file <a class="el" href="fuse__common_8h_source.html">fuse_common.h</a>.</p>

</div>
</div>
<a id="ad808b93c66a58d1b4cd738af7ddcf37f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad808b93c66a58d1b4cd738af7ddcf37f">&#9670;&nbsp;</a></span>FUSE_CAP_READDIRPLUS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FUSE_CAP_READDIRPLUS&#160;&#160;&#160;(1 &lt;&lt; 13)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Indicates that the filesystem supports readdirplus.</p>
<p>This feature is enabled by default when supported by the kernel and if the filesystem implements a readdirplus() handler. </p>

<p class="definition">Definition at line <a class="el" href="fuse__common_8h_source.html#l00227">227</a> of file <a class="el" href="fuse__common_8h_source.html">fuse_common.h</a>.</p>

</div>
</div>
<a id="a9b90333ad08d0e1c2ed0134d9305ee87"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9b90333ad08d0e1c2ed0134d9305ee87">&#9670;&nbsp;</a></span>FUSE_CAP_READDIRPLUS_AUTO</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FUSE_CAP_READDIRPLUS_AUTO&#160;&#160;&#160;(1 &lt;&lt; 14)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Indicates that the filesystem supports adaptive readdirplus.</p>
<p>If FUSE_CAP_READDIRPLUS is not set, this flag has no effect.</p>
<p>If FUSE_CAP_READDIRPLUS is set and this flag is not set, the kernel will always issue readdirplus() requests to retrieve directory contents.</p>
<p>If FUSE_CAP_READDIRPLUS is set and this flag is set, the kernel will issue both readdir() and readdirplus() requests, depending on how much information is expected to be required.</p>
<p>This feature is enabled by default when supported by the kernel and if the filesystem implements both a readdirplus() and a readdir() handler. </p>

<p class="definition">Definition at line <a class="el" href="fuse__common_8h_source.html#l00246">246</a> of file <a class="el" href="fuse__common_8h_source.html">fuse_common.h</a>.</p>

</div>
</div>
<a id="aef5da823dc5f202bbe033c7a5a3de9c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef5da823dc5f202bbe033c7a5a3de9c4">&#9670;&nbsp;</a></span>FUSE_CAP_SPLICE_MOVE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FUSE_CAP_SPLICE_MOVE&#160;&#160;&#160;(1 &lt;&lt; 8)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Indicates that libfuse should try to move pages instead of copying when writing to / reading from the fuse device. This may improve performance.</p>
<p>This feature is disabled by default. </p>

<p class="definition">Definition at line <a class="el" href="fuse__common_8h_source.html#l00168">168</a> of file <a class="el" href="fuse__common_8h_source.html">fuse_common.h</a>.</p>

</div>
</div>
<a id="a2f8a51bc70841ab691660413836a9a14"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f8a51bc70841ab691660413836a9a14">&#9670;&nbsp;</a></span>FUSE_CAP_SPLICE_READ</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FUSE_CAP_SPLICE_READ&#160;&#160;&#160;(1 &lt;&lt; 9)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Indicates that libfuse should try to use splice() when reading from the fuse device. This may improve performance.</p>
<p>This feature is enabled by default when supported by the kernel and if the filesystem implements a write_buf() handler. </p>

<p class="definition">Definition at line <a class="el" href="fuse__common_8h_source.html#l00177">177</a> of file <a class="el" href="fuse__common_8h_source.html">fuse_common.h</a>.</p>

</div>
</div>
<a id="a4f8815e0f48c60c3d9cd6e72be5a84e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f8815e0f48c60c3d9cd6e72be5a84e4">&#9670;&nbsp;</a></span>FUSE_CAP_SPLICE_WRITE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FUSE_CAP_SPLICE_WRITE&#160;&#160;&#160;(1 &lt;&lt; 7)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Indicates that libfuse should try to use splice() when writing to the fuse device. This may improve performance.</p>
<p>This feature is disabled by default. </p>

<p class="definition">Definition at line <a class="el" href="fuse__common_8h_source.html#l00160">160</a> of file <a class="el" href="fuse__common_8h_source.html">fuse_common.h</a>.</p>

</div>
</div>
<a id="a4839fce31097f4b4da7a1f01169228fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4839fce31097f4b4da7a1f01169228fa">&#9670;&nbsp;</a></span>FUSE_CAP_WRITEBACK_CACHE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FUSE_CAP_WRITEBACK_CACHE&#160;&#160;&#160;(1 &lt;&lt; 16)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Indicates that writeback caching should be enabled. This means that individual write request may be buffered and merged in the kernel before they are send to the filesystem.</p>
<p>This feature is disabled by default. </p>

<p class="definition">Definition at line <a class="el" href="fuse__common_8h_source.html#l00266">266</a> of file <a class="el" href="fuse__common_8h_source.html">fuse_common.h</a>.</p>

</div>
</div>
<a id="ade38f8e8c463cd40af5bfeeebfa99486"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade38f8e8c463cd40af5bfeeebfa99486">&#9670;&nbsp;</a></span>FUSE_IOCTL_COMPAT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FUSE_IOCTL_COMPAT&#160;&#160;&#160;(1 &lt;&lt; 0)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Ioctl flags</p>
<p>FUSE_IOCTL_COMPAT: 32bit compat ioctl on 64bit machine FUSE_IOCTL_UNRESTRICTED: not restricted to well-formed ioctls, retry allowed FUSE_IOCTL_RETRY: retry with new iovecs FUSE_IOCTL_DIR: is a directory</p>
<p>FUSE_IOCTL_MAX_IOV: maximum of in_iovecs + out_iovecs </p>

<p class="definition">Definition at line <a class="el" href="fuse__common_8h_source.html#l00329">329</a> of file <a class="el" href="fuse__common_8h_source.html">fuse_common.h</a>.</p>

</div>
</div>
<a id="a2779d57c512b7b948992858653e95f0e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2779d57c512b7b948992858653e95f0e">&#9670;&nbsp;</a></span>FUSE_MAJOR_VERSION</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FUSE_MAJOR_VERSION&#160;&#160;&#160;3</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Major version of FUSE library interface </p>

<p class="definition">Definition at line <a class="el" href="fuse__common_8h_source.html#l00022">22</a> of file <a class="el" href="fuse__common_8h_source.html">fuse_common.h</a>.</p>

</div>
</div>
<a id="a8571aa4ec96e1685d31eeff07cb2f163"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8571aa4ec96e1685d31eeff07cb2f163">&#9670;&nbsp;</a></span>FUSE_MINOR_VERSION</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FUSE_MINOR_VERSION&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Minor version of FUSE library interface </p>

<p class="definition">Definition at line <a class="el" href="fuse__common_8h_source.html#l00025">25</a> of file <a class="el" href="fuse__common_8h_source.html">fuse_common.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="aec0ad71a3e8c357ebe7e87cdecbdbe18"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aec0ad71a3e8c357ebe7e87cdecbdbe18">&#9670;&nbsp;</a></span>fuse_buf_copy_flags</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="fuse__common_8h.html#aec0ad71a3e8c357ebe7e87cdecbdbe18">fuse_buf_copy_flags</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Buffer copy flags </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="aec0ad71a3e8c357ebe7e87cdecbdbe18adcef8052c48f314d4d9f9f05a5b4f838"></a>FUSE_BUF_NO_SPLICE&#160;</td><td class="fielddoc"><p>Don't use splice(2)</p>
<p>Always fall back to using read and write instead of splice(2) to copy data from one file descriptor to another.</p>
<p>If this flag is not set, then only fall back if splice is unavailable. </p>
</td></tr>
<tr><td class="fieldname"><a id="aec0ad71a3e8c357ebe7e87cdecbdbe18a375767de945f5178e8949d284abf1f5b"></a>FUSE_BUF_FORCE_SPLICE&#160;</td><td class="fielddoc"><p>Force splice</p>
<p>Always use splice(2) to copy data from one file descriptor to another. If splice is not available, return -EINVAL. </p>
</td></tr>
<tr><td class="fieldname"><a id="aec0ad71a3e8c357ebe7e87cdecbdbe18af239e556066a5d73b3ff542216b157b9"></a>FUSE_BUF_SPLICE_MOVE&#160;</td><td class="fielddoc"><p>Try to move data with splice.</p>
<p>If splice is used, try to move pages from the source to the destination instead of copying. See documentation of SPLICE_F_MOVE in splice(2) man page. </p>
</td></tr>
<tr><td class="fieldname"><a id="aec0ad71a3e8c357ebe7e87cdecbdbe18a32ec833f1eb4b5cd9283cf9d93021037"></a>FUSE_BUF_SPLICE_NONBLOCK&#160;</td><td class="fielddoc"><p>Don't block on the pipe when copying data with splice</p>
<p>Makes the operations on the pipe non-blocking (if the pipe is full or empty). See SPLICE_F_NONBLOCK in the splice(2) man page. </p>
</td></tr>
</table>

<p class="definition">Definition at line <a class="el" href="fuse__common_8h_source.html#l00579">579</a> of file <a class="el" href="fuse__common_8h_source.html">fuse_common.h</a>.</p>

</div>
</div>
<a id="a5e36b839c4dbf0439bd85b61c7213a58"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5e36b839c4dbf0439bd85b61c7213a58">&#9670;&nbsp;</a></span>fuse_buf_flags</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="fuse__common_8h.html#a5e36b839c4dbf0439bd85b61c7213a58">fuse_buf_flags</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Buffer flags </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a5e36b839c4dbf0439bd85b61c7213a58affd5b3b7e9cdd5f89b3126eea96e033b"></a>FUSE_BUF_IS_FD&#160;</td><td class="fielddoc"><p>Buffer contains a file descriptor</p>
<p>If this flag is set, the .fd field is valid, otherwise the .mem fields is valid. </p>
</td></tr>
<tr><td class="fieldname"><a id="a5e36b839c4dbf0439bd85b61c7213a58ad67d5c6075febad0594f06d46d02bfa9"></a>FUSE_BUF_FD_SEEK&#160;</td><td class="fielddoc"><p>Seek on the file descriptor</p>
<p>If this flag is set then the .pos field is valid and is used to seek to the given offset before performing operation on file descriptor. </p>
</td></tr>
<tr><td class="fieldname"><a id="a5e36b839c4dbf0439bd85b61c7213a58af89b4b00a2d4a06d8458b320c2cb28cf"></a>FUSE_BUF_FD_RETRY&#160;</td><td class="fielddoc"><p>Retry operation on file descriptor</p>
<p>If this flag is set then retry operation on file descriptor until .size bytes have been copied or an error or EOF is detected. </p>
</td></tr>
</table>

<p class="definition">Definition at line <a class="el" href="fuse__common_8h_source.html#l00548">548</a> of file <a class="el" href="fuse__common_8h_source.html">fuse_common.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a55cf81fd313a39a171275360960b0471"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a55cf81fd313a39a171275360960b0471">&#9670;&nbsp;</a></span>fuse_apply_conn_info_opts()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void fuse_apply_conn_info_opts </td>
          <td>(</td>
          <td class="paramtype">struct fuse_conn_info_opts *&#160;</td>
          <td class="paramname"><em>opts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structfuse__conn__info.html">fuse_conn_info</a> *&#160;</td>
          <td class="paramname"><em>conn</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This function applies the (parsed) parameters in <em>opts</em> to the <em>conn</em> pointer. It may modify the following fields: wants, max_write, max_readahead, congestion_threshold, max_background, time_gran. A field is only set (or unset) if the corresponding option has been explicitly set. </p>

<p class="definition">Definition at line <a class="el" href="helper_8c_source.html#l00361">361</a> of file <a class="el" href="helper_8c_source.html">helper.c</a>.</p>

</div>
</div>
<a id="a9ca301390fb5e85b85153abb1891a3f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ca301390fb5e85b85153abb1891a3f7">&#9670;&nbsp;</a></span>fuse_buf_copy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ssize_t fuse_buf_copy </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structfuse__bufvec.html">fuse_bufvec</a> *&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structfuse__bufvec.html">fuse_bufvec</a> *&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">enum <a class="el" href="fuse__common_8h.html#aec0ad71a3e8c357ebe7e87cdecbdbe18">fuse_buf_copy_flags</a>&#160;</td>
          <td class="paramname"><em>flags</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Copy data from one buffer vector to another</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dst</td><td>destination buffer vector </td></tr>
    <tr><td class="paramname">src</td><td>source buffer vector </td></tr>
    <tr><td class="paramname">flags</td><td>flags controlling the copy </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>actual number of bytes copied or -errno on error </dd></dl>

<p class="definition">Definition at line <a class="el" href="buffer_8c_source.html#l00281">281</a> of file <a class="el" href="buffer_8c_source.html">buffer.c</a>.</p>

</div>
</div>
<a id="a4327f41b2fe1ca84151b407169bd86c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4327f41b2fe1ca84151b407169bd86c0">&#9670;&nbsp;</a></span>fuse_buf_size()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t fuse_buf_size </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structfuse__bufvec.html">fuse_bufvec</a> *&#160;</td>
          <td class="paramname"><em>bufv</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get total size of data in a fuse buffer vector</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">bufv</td><td>buffer vector </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>size of data </dd></dl>

<p class="definition">Definition at line <a class="el" href="buffer_8c_source.html#l00022">22</a> of file <a class="el" href="buffer_8c_source.html">buffer.c</a>.</p>

</div>
</div>
<a id="af1857d2209952f49a762aff39f3cd8bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af1857d2209952f49a762aff39f3cd8bd">&#9670;&nbsp;</a></span>fuse_daemonize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int fuse_daemonize </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>foreground</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Go into the background</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">foreground</td><td>if true, stay in the foreground </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, -1 on failure </dd></dl>

<p class="definition">Definition at line <a class="el" href="helper_8c_source.html#l00225">225</a> of file <a class="el" href="helper_8c_source.html">helper.c</a>.</p>

</div>
</div>
<a id="af5431cea3c9a8490cefe087cb8089cd9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af5431cea3c9a8490cefe087cb8089cd9">&#9670;&nbsp;</a></span>fuse_parse_conn_info_opts()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct fuse_conn_info_opts* fuse_parse_conn_info_opts </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structfuse__args.html">fuse_args</a> *&#160;</td>
          <td class="paramname"><em>args</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This function parses several command-line options that can be used to override elements of struct <a class="el" href="structfuse__conn__info.html">fuse_conn_info</a>. The pointer returned by this function should be passed to the <a class="el" href="fuse__common_8h.html#a55cf81fd313a39a171275360960b0471">fuse_apply_conn_info_opts()</a> method by the file system's init() handler.</p>
<p>Before using this function, think twice if you really want these parameters to be adjustable from the command line. In most cases, they should be determined by the file system internally.</p>
<p>The following options are recognized:</p>
<p>-o max_write=N sets conn-&gt;max_write -o max_readahead=N sets conn-&gt;max_readahead -o max_background=N sets conn-&gt;max_background -o congestion_threshold=N sets conn-&gt;congestion_threshold -o async_read sets FUSE_CAP_ASYNC_READ in conn-&gt;want -o sync_read unsets FUSE_CAP_ASYNC_READ in conn-&gt;want -o atomic_o_trunc sets FUSE_CAP_ATOMIC_O_TRUNC in conn-&gt;want -o no_remote_lock Equivalent to -o no_remote_flock,no_remote_posix_lock -o no_remote_flock Unsets FUSE_CAP_FLOCK_LOCKS in conn-&gt;want -o no_remote_posix_lock Unsets FUSE_CAP_POSIX_LOCKS in conn-&gt;want -o [no_]splice_write (un-)sets FUSE_CAP_SPLICE_WRITE in conn-&gt;want -o [no_]splice_move (un-)sets FUSE_CAP_SPLICE_MOVE in conn-&gt;want -o [no_]splice_read (un-)sets FUSE_CAP_SPLICE_READ in conn-&gt;want -o [no_]auto_inval_data (un-)sets FUSE_CAP_AUTO_INVAL_DATA in conn-&gt;want -o readdirplus=no unsets FUSE_CAP_READDIRPLUS in conn-&gt;want -o readdirplus=yes sets FUSE_CAP_READDIRPLUS and unsets FUSE_CAP_READDIRPLUS_AUTO in conn-&gt;want -o readdirplus=auto sets FUSE_CAP_READDIRPLUS and FUSE_CAP_READDIRPLUS_AUTO in conn-&gt;want -o [no_]async_dio (un-)sets FUSE_CAP_ASYNC_DIO in conn-&gt;want -o [no_]writeback_cache (un-)sets FUSE_CAP_WRITEBACK_CACHE in conn-&gt;want -o time_gran=N sets conn-&gt;time_gran</p>
<p>Known options will be removed from <em>args</em>, unknown options will be passed through unchanged.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">args</td><td>argument vector (input+output) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>parsed options </dd></dl>

<p class="definition">Definition at line <a class="el" href="helper_8c_source.html#l00408">408</a> of file <a class="el" href="helper_8c_source.html">helper.c</a>.</p>

</div>
</div>
<a id="ac52e27388a7c16eb509173908e5eebd0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac52e27388a7c16eb509173908e5eebd0">&#9670;&nbsp;</a></span>fuse_pkgversion()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* fuse_pkgversion </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get the full package version string of the library</p>
<dl class="section return"><dt>Returns</dt><dd>the package version </dd></dl>

<p class="definition">Definition at line <a class="el" href="fuse_8c_source.html#l05071">5071</a> of file <a class="el" href="fuse_8c_source.html">fuse.c</a>.</p>

</div>
</div>
<a id="adf5027f8a38b2efc03858efd7fdc756a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf5027f8a38b2efc03858efd7fdc756a">&#9670;&nbsp;</a></span>fuse_pollhandle_destroy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void fuse_pollhandle_destroy </td>
          <td>(</td>
          <td class="paramtype">struct fuse_pollhandle *&#160;</td>
          <td class="paramname"><em>ph</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Destroy poll handle</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ph</td><td>the poll handle </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="fuse__lowlevel_8c_source.html#l01766">1766</a> of file <a class="el" href="fuse__lowlevel_8c_source.html">fuse_lowlevel.c</a>.</p>

</div>
</div>
<a id="aeb674bbc11074c4fe520b952d6bfdd30"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb674bbc11074c4fe520b952d6bfdd30">&#9670;&nbsp;</a></span>fuse_remove_signal_handlers()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void fuse_remove_signal_handlers </td>
          <td>(</td>
          <td class="paramtype">struct fuse_session *&#160;</td>
          <td class="paramname"><em>se</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Restore default signal handlers</p>
<p>Resets global session. After this <a class="el" href="fuse__common_8h.html#a292dccc3c7b1799cb054efa2ba0c774b">fuse_set_signal_handlers()</a> may be called again.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">se</td><td>the same session as given in <a class="el" href="fuse__common_8h.html#a292dccc3c7b1799cb054efa2ba0c774b">fuse_set_signal_handlers()</a></td></tr>
  </table>
  </dd>
</dl>
<p>See also: <a class="el" href="fuse__common_8h.html#a292dccc3c7b1799cb054efa2ba0c774b">fuse_set_signal_handlers()</a> </p>

<p class="definition">Definition at line <a class="el" href="fuse__signals_8c_source.html#l00079">79</a> of file <a class="el" href="fuse__signals_8c_source.html">fuse_signals.c</a>.</p>

</div>
</div>
<a id="a292dccc3c7b1799cb054efa2ba0c774b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a292dccc3c7b1799cb054efa2ba0c774b">&#9670;&nbsp;</a></span>fuse_set_signal_handlers()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int fuse_set_signal_handlers </td>
          <td>(</td>
          <td class="paramtype">struct fuse_session *&#160;</td>
          <td class="paramname"><em>se</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Exit session on HUP, TERM and INT signals and ignore PIPE signal</p>
<p>Stores session in a global variable. May only be called once per process until <a class="el" href="fuse__common_8h.html#aeb674bbc11074c4fe520b952d6bfdd30">fuse_remove_signal_handlers()</a> is called.</p>
<p>Once either of the POSIX signals arrives, the signal handler calls <a class="el" href="fuse__lowlevel_8h.html#a198429f3fbc23ef29ef9971271827690">fuse_session_exit()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">se</td><td>the session to exit </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, -1 on failure</dd></dl>
<p>See also: <a class="el" href="fuse__common_8h.html#aeb674bbc11074c4fe520b952d6bfdd30">fuse_remove_signal_handlers()</a> </p>

<p class="definition">Definition at line <a class="el" href="fuse__signals_8c_source.html#l00062">62</a> of file <a class="el" href="fuse__signals_8c_source.html">fuse_signals.c</a>.</p>

</div>
</div>
<a id="ae04b2f721003f5540c71be65396c53c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae04b2f721003f5540c71be65396c53c8">&#9670;&nbsp;</a></span>fuse_version()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int fuse_version </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get the version of the library</p>
<dl class="section return"><dt>Returns</dt><dd>the version </dd></dl>

<p class="definition">Definition at line <a class="el" href="fuse_8c_source.html#l05066">5066</a> of file <a class="el" href="fuse_8c_source.html">fuse.c</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
